/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techshop.dao;

import com.techshop.model.News;
import java.util.List;

/**
 *
 * @author hai
 */
public interface NewsDao {
     public News getById(int newsId);
    public List<News> findAll();
    public boolean insert(News news);
    public boolean update(News news);
    public boolean delete(News news);
}
